An Entertaining Example for the Usage of Bitwise Operations in Programming
نویسندگان
چکیده
The present study is meant to fill in some information gaps occurring in the most widespread and well-known educational and reference literature about programming. The stress is laid on a very useful instrument the bitwise operations, topic which is, unfortunately, seldom dealt with in most of the well-known books on programming. In addition, the research is very useful as regards the topic of overloading operators in any Objectoriented programming course. Given some appropriate examples, with the emphasis being laid on some particular and data structures language constructions, the results are quite interesting. The algorithm of solving the popular Sudoku puzzle is one such entertaining example.
منابع مشابه
An Example for the Use of Bitwise Operations in Programming
This piece of work presents a meaningful example for the advantages of using bitwise operations for creating effective algorithms in programming. A task connected with mathematical modeling in weaving industry is examined and computed. 1. Introduction. The use of bitwise operations is a powerful method used in C/C++ programming languages. Unfortunately in widespread books on this topic there is...
متن کاملThe bitwise operations in relation to obtaining Latin squares
This article outlines some techniques for the use of bitwise operations in programming languages C/C++ and Java. As an example, we describe an algorithm for receiving a Latin square of arbitrary order.
متن کاملInteractive multiple objective programming in optimization of the fully fuzzy quadratic programming problems
In this paper, a quadratic programming (FFQP) problem is considered in which all of the cost coefficients, constraints coefficients, and right hand side of the constraints are characterized by L-R fuzzy numbers. Through this paper, the concept of α- level of fuzzy numbers for the objective function, and the order relations on the fuzzy numbers for the constraints are considered. To optimize th...
متن کاملClose interval approximation of piecewise quadratic fuzzy numbers for fuzzy fractional program
The fuzzy approach has undergone a profound structural transformation in the past few decades. Numerous studies have been undertaken to explain fuzzy approach for linear and nonlinear programs. While, the findings in earlier studies have been conflicting, recent studies of competitive situations indicate that fractional programming problem has a positive impact on comparative scenario. We pro...
متن کاملSolving a new mathematical model for cellular manufacturing system: A fuzzy goal programming approach
A fuzzy goal programming-based approach is used to solve a proposed multi-objective linear programming model and simultaneously handle two important problems in cellular manufacturing systems, viz. cell formation and layout design. Considerations of intra-cell layout, the intra-cell material handling can be calculated exactly. The advantages of the proposed model are considering machining cos...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1201.3802 شماره
صفحات -
تاریخ انتشار 2012